<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>ServerDescription | mongodb</title>
	<meta name="description" content="Documentation for mongodb">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
	<script async src="../assets/js/search.js" id="search-script"></script>
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">mongodb</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../modules.html">mongodb</a>
				</li>
				<li>
					<a href="serverdescription.html">ServerDescription</a>
				</li>
			</ul>
			<h1>Class ServerDescription</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>The client&#39;s view of a single server, based on the most recent ismaster outcome.</p>
					</div>
					<p>Internal type, not meant to be directly instantiated</p>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">ServerDescription</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="serverdescription.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#_clustertime" class="tsd-kind-icon">$cluster<wbr>Time</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="serverdescription.html#_hostaddress" class="tsd-kind-icon">_host<wbr>Address</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#address" class="tsd-kind-icon">address</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#arbiters" class="tsd-kind-icon">arbiters</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#electionid" class="tsd-kind-icon">election<wbr>Id</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#error" class="tsd-kind-icon">error</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#hosts" class="tsd-kind-icon">hosts</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#lastupdatetime" class="tsd-kind-icon">last<wbr>Update<wbr>Time</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#lastwritedate" class="tsd-kind-icon">last<wbr>Write<wbr>Date</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#logicalsessiontimeoutminutes" class="tsd-kind-icon">logical<wbr>Session<wbr>Timeout<wbr>Minutes</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#maxwireversion" class="tsd-kind-icon">max<wbr>Wire<wbr>Version</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#me" class="tsd-kind-icon">me</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#minwireversion" class="tsd-kind-icon">min<wbr>Wire<wbr>Version</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#passives" class="tsd-kind-icon">passives</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#primary" class="tsd-kind-icon">primary</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#roundtriptime" class="tsd-kind-icon">round<wbr>Trip<wbr>Time</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#setname" class="tsd-kind-icon">set<wbr>Name</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#setversion" class="tsd-kind-icon">set<wbr>Version</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#tags" class="tsd-kind-icon">tags</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#topologyversion" class="tsd-kind-icon">topology<wbr>Version</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="serverdescription.html#type" class="tsd-kind-icon">type</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Accessors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="serverdescription.html#allhosts" class="tsd-kind-icon">all<wbr>Hosts</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="serverdescription.html#host" class="tsd-kind-icon">host</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="serverdescription.html#hostaddress" class="tsd-kind-icon">host<wbr>Address</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="serverdescription.html#isdatabearing" class="tsd-kind-icon">is<wbr>Data<wbr>Bearing</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="serverdescription.html#isreadable" class="tsd-kind-icon">is<wbr>Readable</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="serverdescription.html#iswritable" class="tsd-kind-icon">is<wbr>Writable</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="serverdescription.html#port" class="tsd-kind-icon">port</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="serverdescription.html#equals" class="tsd-kind-icon">equals</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Server<wbr>Description<span class="tsd-signature-symbol">(</span>address<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="hostaddress.html" class="tsd-signature-type" data-tsd-kind="Class">HostAddress</a>, ismaster<span class="tsd-signature-symbol">?: </span><a href="../interfaces/document.html" class="tsd-signature-type" data-tsd-kind="Interface">Document</a>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/serverdescriptionoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ServerDescriptionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="serverdescription.html" class="tsd-signature-type" data-tsd-kind="Class">ServerDescription</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L72">src/sdam/server_description.ts:72</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Create a ServerDescription</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>internal</dt>
									<dd></dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>address: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="hostaddress.html" class="tsd-signature-type" data-tsd-kind="Class">HostAddress</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>The address of the server</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> ismaster: <a href="../interfaces/document.html" class="tsd-signature-type" data-tsd-kind="Interface">Document</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>An optional ismaster response for this server</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/serverdescriptionoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ServerDescriptionOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="serverdescription.html" class="tsd-signature-type" data-tsd-kind="Class">ServerDescription</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="_clustertime" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> $cluster<wbr>Time</h3>
					<div class="tsd-signature tsd-kind-icon">$cluster<wbr>Time<span class="tsd-signature-symbol">:</span> <a href="../interfaces/clustertime.html" class="tsd-signature-type" data-tsd-kind="Interface">ClusterTime</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L72">src/sdam/server_description.ts:72</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
					<a name="_hostaddress" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagPrivate">Private</span> _host<wbr>Address</h3>
					<div class="tsd-signature tsd-kind-icon">_host<wbr>Address<span class="tsd-signature-symbol">:</span> <a href="hostaddress.html" class="tsd-signature-type" data-tsd-kind="Class">HostAddress</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L48">src/sdam/server_description.ts:48</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="address" class="tsd-anchor"></a>
					<h3>address</h3>
					<div class="tsd-signature tsd-kind-icon">address<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L49">src/sdam/server_description.ts:49</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="arbiters" class="tsd-anchor"></a>
					<h3>arbiters</h3>
					<div class="tsd-signature tsd-kind-icon">arbiters<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L53">src/sdam/server_description.ts:53</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="electionid" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> election<wbr>Id</h3>
					<div class="tsd-signature tsd-kind-icon">election<wbr>Id<span class="tsd-signature-symbol">:</span> <a href="objectid.html" class="tsd-signature-type" data-tsd-kind="Class">ObjectId</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L68">src/sdam/server_description.ts:68</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="error" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> error</h3>
					<div class="tsd-signature tsd-kind-icon">error<span class="tsd-signature-symbol">:</span> <a href="mongoerror.html" class="tsd-signature-type" data-tsd-kind="Class">MongoError</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L56">src/sdam/server_description.ts:56</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="hosts" class="tsd-anchor"></a>
					<h3>hosts</h3>
					<div class="tsd-signature tsd-kind-icon">hosts<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L51">src/sdam/server_description.ts:51</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="lastupdatetime" class="tsd-anchor"></a>
					<h3>last<wbr>Update<wbr>Time</h3>
					<div class="tsd-signature tsd-kind-icon">last<wbr>Update<wbr>Time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L61">src/sdam/server_description.ts:61</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="lastwritedate" class="tsd-anchor"></a>
					<h3>last<wbr>Write<wbr>Date</h3>
					<div class="tsd-signature tsd-kind-icon">last<wbr>Write<wbr>Date<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L62">src/sdam/server_description.ts:62</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="logicalsessiontimeoutminutes" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> logical<wbr>Session<wbr>Timeout<wbr>Minutes</h3>
					<div class="tsd-signature tsd-kind-icon">logical<wbr>Session<wbr>Timeout<wbr>Minutes<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L69">src/sdam/server_description.ts:69</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="maxwireversion" class="tsd-anchor"></a>
					<h3>max<wbr>Wire<wbr>Version</h3>
					<div class="tsd-signature tsd-kind-icon">max<wbr>Wire<wbr>Version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L59">src/sdam/server_description.ts:59</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="me" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> me</h3>
					<div class="tsd-signature tsd-kind-icon">me<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L64">src/sdam/server_description.ts:64</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="minwireversion" class="tsd-anchor"></a>
					<h3>min<wbr>Wire<wbr>Version</h3>
					<div class="tsd-signature tsd-kind-icon">min<wbr>Wire<wbr>Version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L58">src/sdam/server_description.ts:58</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="passives" class="tsd-anchor"></a>
					<h3>passives</h3>
					<div class="tsd-signature tsd-kind-icon">passives<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L52">src/sdam/server_description.ts:52</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="primary" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> primary</h3>
					<div class="tsd-signature tsd-kind-icon">primary<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L65">src/sdam/server_description.ts:65</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="roundtriptime" class="tsd-anchor"></a>
					<h3>round<wbr>Trip<wbr>Time</h3>
					<div class="tsd-signature tsd-kind-icon">round<wbr>Trip<wbr>Time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L60">src/sdam/server_description.ts:60</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="setname" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> set<wbr>Name</h3>
					<div class="tsd-signature tsd-kind-icon">set<wbr>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L66">src/sdam/server_description.ts:66</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="setversion" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> set<wbr>Version</h3>
					<div class="tsd-signature tsd-kind-icon">set<wbr>Version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L67">src/sdam/server_description.ts:67</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="tags" class="tsd-anchor"></a>
					<h3>tags</h3>
					<div class="tsd-signature tsd-kind-icon">tags<span class="tsd-signature-symbol">:</span> <a href="../modules.html#tagset" class="tsd-signature-type" data-tsd-kind="Type alias">TagSet</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L54">src/sdam/server_description.ts:54</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="topologyversion" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> topology<wbr>Version</h3>
					<div class="tsd-signature tsd-kind-icon">topology<wbr>Version<span class="tsd-signature-symbol">:</span> <a href="../interfaces/topologyversion.html" class="tsd-signature-type" data-tsd-kind="Interface">TopologyVersion</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L57">src/sdam/server_description.ts:57</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="type" class="tsd-anchor"></a>
					<h3>type</h3>
					<div class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">:</span> <a href="../modules.html#servertype" class="tsd-signature-type" data-tsd-kind="Variable">ServerType</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L50">src/sdam/server_description.ts:50</a></li>
						</ul>
					</aside>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Accessors</h2>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="allhosts" class="tsd-anchor"></a>
					<h3>all<wbr>Hosts</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> allHosts<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L148">src/sdam/server_description.ts:148</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="host" class="tsd-anchor"></a>
					<h3>host</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> host<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L167">src/sdam/server_description.ts:167</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="hostaddress" class="tsd-anchor"></a>
					<h3>host<wbr>Address</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> hostAddress<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="hostaddress.html" class="tsd-signature-type" data-tsd-kind="Class">HostAddress</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L143">src/sdam/server_description.ts:143</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <a href="hostaddress.html" class="tsd-signature-type" data-tsd-kind="Class">HostAddress</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="isdatabearing" class="tsd-anchor"></a>
					<h3>is<wbr>Data<wbr>Bearing</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> isDataBearing<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L158">src/sdam/server_description.ts:158</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Is this server data bearing</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="isreadable" class="tsd-anchor"></a>
					<h3>is<wbr>Readable</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> isReadable<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L153">src/sdam/server_description.ts:153</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Is this server available for reads</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="iswritable" class="tsd-anchor"></a>
					<h3>is<wbr>Writable</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> isWritable<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L163">src/sdam/server_description.ts:163</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Is this server available for writes</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="port" class="tsd-anchor"></a>
					<h3>port</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> port<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L172">src/sdam/server_description.ts:172</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="equals" class="tsd-anchor"></a>
					<h3>equals</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">equals<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><a href="serverdescription.html" class="tsd-signature-type" data-tsd-kind="Class">ServerDescription</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/server_description.ts#L181">src/sdam/server_description.ts:181</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Determines if another <code>ServerDescription</code> is equal to this one per the rules defined
									in the <a href="https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.rst#serverdescription" class="external">SDAM spec</a></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>other: <a href="serverdescription.html" class="tsd-signature-type" data-tsd-kind="Class">ServerDescription</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class=" ">
						<a href="../modules.html">Exports</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class">
						<a href="serverdescription.html" class="tsd-kind-icon">Server<wbr>Description</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class">
								<a href="serverdescription.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#_clustertime" class="tsd-kind-icon">$cluster<wbr>Time</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
								<a href="serverdescription.html#_hostaddress" class="tsd-kind-icon">_host<wbr>Address</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#address" class="tsd-kind-icon">address</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#arbiters" class="tsd-kind-icon">arbiters</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#electionid" class="tsd-kind-icon">election<wbr>Id</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#error" class="tsd-kind-icon">error</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#hosts" class="tsd-kind-icon">hosts</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#lastupdatetime" class="tsd-kind-icon">last<wbr>Update<wbr>Time</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#lastwritedate" class="tsd-kind-icon">last<wbr>Write<wbr>Date</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#logicalsessiontimeoutminutes" class="tsd-kind-icon">logical<wbr>Session<wbr>Timeout<wbr>Minutes</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#maxwireversion" class="tsd-kind-icon">max<wbr>Wire<wbr>Version</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#me" class="tsd-kind-icon">me</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#minwireversion" class="tsd-kind-icon">min<wbr>Wire<wbr>Version</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#passives" class="tsd-kind-icon">passives</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#primary" class="tsd-kind-icon">primary</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#roundtriptime" class="tsd-kind-icon">round<wbr>Trip<wbr>Time</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#setname" class="tsd-kind-icon">set<wbr>Name</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#setversion" class="tsd-kind-icon">set<wbr>Version</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#tags" class="tsd-kind-icon">tags</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#topologyversion" class="tsd-kind-icon">topology<wbr>Version</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="serverdescription.html#type" class="tsd-kind-icon">type</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="serverdescription.html#allhosts" class="tsd-kind-icon">all<wbr>Hosts</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="serverdescription.html#host" class="tsd-kind-icon">host</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="serverdescription.html#hostaddress" class="tsd-kind-icon">host<wbr>Address</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="serverdescription.html#isdatabearing" class="tsd-kind-icon">is<wbr>Data<wbr>Bearing</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="serverdescription.html#isreadable" class="tsd-kind-icon">is<wbr>Readable</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="serverdescription.html#iswritable" class="tsd-kind-icon">is<wbr>Writable</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="serverdescription.html#port" class="tsd-kind-icon">port</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="serverdescription.html#equals" class="tsd-kind-icon">equals</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>